package com.szholly.plug.cms.entity.content;

import com.szholly.data.general.*;

/**
 * 内容的图片
 */
public class ContentPictureRow extends RowBase {

	private static final long serialVersionUID = 1L;

	/**
	 * content_id
	 */
	public final static String FIELD_ContentId = "content_id";
	
	/**
	 * 描述
	 */
	public final static String FIELD_Description = "description";
	
	/**
	 * 排列顺序
	 */
	public final static String FIELD_Priority = "priority";
	
	/**
	 * 图片地址
	 */
	public final static String FIELD_ImgPath = "img_path";
	
	
	
	/**
	 * 获取content_id
	 */
	public Integer getContentId() {
		return (Integer) getValue(GlobalDataType.Int32, FIELD_ContentId);
	}

	/**
	 * 设置content_id
	 */
	public void setContentId(Integer value) {
		setValue(FIELD_ContentId, value);
	}
	
	/**
	 * 获取描述
	 */
	public String getDescription() {
		return (String) getValue(GlobalDataType.String, FIELD_Description);
	}

	/**
	 * 设置描述
	 */
	public void setDescription(String value) {
		setValue(FIELD_Description, value);
	}
	
	/**
	 * 获取排列顺序
	 */
	public Integer getPriority() {
		return (Integer) getValue(GlobalDataType.Int32, FIELD_Priority);
	}

	/**
	 * 设置排列顺序
	 */
	public void setPriority(Integer value) {
		setValue(FIELD_Priority, value);
	}
	
	/**
	 * 获取图片地址
	 */
	public String getImgPath() {
		return (String) getValue(GlobalDataType.String, FIELD_ImgPath);
	}

	/**
	 * 设置图片地址
	 */
	public void setImgPath(String value) {
		setValue(FIELD_ImgPath, value);
	}
}